package com.jhhc.FloodForecast.Calculate.Condition.Dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jhhc.FloodForecast.Calculate.Condition.Pojo.Scheme;

public interface SchemeMapper {
    int DeleteScheme(@Param("pid") Integer pid, @Param("userid") String userid, @Param("fschemeid") String fschemeid, @Param("conditionid") String conditionid);

    int InsertScheme(Scheme record);

    Scheme selectByPrimaryKey(@Param("pid") Integer pid, @Param("userid") String userid, @Param("fschemeid") String fschemeid, @Param("conditionid") String conditionid);

    List<Scheme> selectAll();

    int updateBy(String flag);

    int UpdateProjectId(@Param("pid") Integer pid, @Param("userid") String userid, @Param("fschemeid") String fschemeid, @Param("conditionid") String conditionid);

    List<Scheme> selectByProjectId(@Param("ProjectId") int ProjectId, @Param("UserId") String UserId, @Param("ConditionId") String ConditionId);

}